<template>
  <div class="detail">
    <el-card class="box-card">
      <div slot="header" class="clearfix">
        <span>卡片名称</span>
        <el-button style="float: right; padding: 3px 0" type="text">操作按钮</el-button>
      </div>
      <el-tabs v-model="tabName">
        <el-tab-pane label="登录账户设置" name="first">
          <login-detail />
        </el-tab-pane>
        <el-tab-pane label="个人详情" name="second">
          <user-info />
        </el-tab-pane>
        <el-tab-pane label="岗位信息" name="third">
          <job-message />
        </el-tab-pane>
      </el-tabs>
    </el-card>
  </div>
</template>

<script>
import JobMessage from './components/JobMessage.vue'
import LoginDetail from './components/LoginDetail.vue'
import UserInfo from './components/UserInfo.vue'
export default {
  components: { LoginDetail, UserInfo, JobMessage },
  data() {
    return {
      tabName: 'first'
    }
  },
  methods: {

  }
}
</script>

<style lang="scss" scoped>
.detail {
  margin: 15px !important;
}
</style>
